#pragma once


class PmtWallJig : public AcEdJig

	// This class allows the user to create an ellipse by
	// picking its center point and then dragging to select the
	// desired major axis and minor axis lengths.  During the
	// drag operations, the user will be able to visually see
	// what the ellipse looks like at any time.
	//
{
public:
	PmtWallJig();
	BOOL doIt();
	virtual DragStatus sampler();
	virtual Adesk::Boolean update();
	virtual AcDbEntity* entity() const;

	AcDbObjectId GetBlkRefObjID()
	{
		return m_objBlkRefID;
	}
private:
	AcDbBlockReference *mpBlkRef;
	AcGePoint3d m_position;
	AcDbObjectId m_objBlkRefID;
	AcDbObjectId m_objBlkRefOtherID;
	static double m_dAngle;
	BOOL m_bDouble;
};